"""
example01 - 集合的定义

Author: Administrator
Date: 2024/1/11
"""

# set1 = {1, 1, 2, 3, 1, 1, 2}
# print(type(set1))
# print(set1, len(set1))
#
# # 遍历集合中的元素
# for elem in set1:
#     print(elem)
#
#
# # set2 = {} # 字典类型(空)
# set2 = set()
# print(type(set2))
# print(set2)

a = []
b = ()
c = {}
d = set()
d.add(1)
print(a, b, c, d)
print(type(a), type(b), type(c), type(d))

